package org.dromara.iot.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.iot.domain.IotXfjyry;

/**
 * 消防救援人员业务对象 iot_xfjyry
 *
 * @author Luo
 * @date 2025-07-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = IotXfjyry.class, reverseConvertGenerate = false)
public class IotXfjyryBo extends BaseEntity {

    /**
     * 通用唯一识别码
     */
    private String id;

    /**
     * 姓名
     */
    private String xm;

    /**
     * 所在机构
     */
    private String sjorgid;

    /**
     * 电话
     */
    @NotBlank(message = "电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yddh;

    /**
     * 所处岗位
     */
    private String xfjyeygwdm;


}
